package com.yvon.maple.service.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yvon.boot.mybatis.model.BaseTreeEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 部门
 *
 * @author : Yvon
 * @since : 2021-11-10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("system_dept")
public class Dept extends BaseTreeEntity<Dept> implements Serializable {

    /**
     * 名称
     */
    private String name;

    /**
     * 部门编码
     */
    private String code;

    /**
     * 部门全称
     */
    @ApiModelProperty(value = "部门全称")
    private String fullName;

    /**
     * 负责人用户id
     */
    private String leaderUserId;

    /**
     * 电话
     */
    private String phone;

    /**
     * 电子邮件
     */
    private String email;

    /**
     * 启用
     */
    private Boolean enabled;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;


}
